<!DOCTYPE html>
<!-- saved from url=(0026)http://www.ghostchina.com/ -->
<html lang="zh-CN"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">

    <title>Zeus中文博客</title>

    <meta name="HandheldFriendly" content="True">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">


    <link rel="stylesheet" href="./include/bootstrap.min.css">
    <link rel="stylesheet" href="./include/font-awesome.min.css">
    <link rel="stylesheet" href="./include/monokai_sublime.min.css">
    <link href="./include/magnific-popup.min.css" rel="stylesheet">
    <link rel="stylesheet" type="text/css" href="./include/screen.css">

    <script>
    /*====================================================
      THEME SETTINGS & GLOBAL VARIABLES
    ====================================================*/
 
    //  1. Sidebar Position
    var sidebar_left = false; // Set true or flase for positioning sidebar on left
    
    //  2. Recent Post count
    var recent_post_count = 3;

    
    </script>



<script src="./include/share.js"></script><style id="fit-vids-style">.fluid-width-video-wrapper{width:100%;position:relative;padding:0;}.fluid-width-video-wrapper iframe,.fluid-width-video-wrapper object,.fluid-width-video-wrapper embed {position:absolute;top:0;left:0;width:100%;height:100%;}</style><link rel="stylesheet" href="./include/share_style0_24.css"></head>
<body class="home-template">

    <!-- start header -->
    <header class="main-header" style="background-image: url(http://static.ghostchina.com/image/6/d1/fcb3879e14429d75833a461572e64.jpg)" "="">
        <div class="container">
            <div class="row">
                <div class="col-sm-12">

                    <!-- start logo -->
                    <a class="branding" href="./include/index.html" title="Ghost 开源博客平台"><img src="./include/4f5566c1f7bc28b3f7ac1fada8abe.png" alt="Ghost 开源博客平台"></a>
                    <!-- end logo -->
                    <h2 class="text-hide">Ghost 是一个简洁、强大的写作平台。你只须专注于用文字表达你的想法就好，其余的事情就让 Ghost 来帮你处理吧。</h2>

                    <img src="./include/fcb3879e14429d75833a461572e64.jpg" alt="Ghost 博客系统" class="hide">
                </div>
            </div>
        </div>
    </header>
    <!-- end header -->

    <!-- start navigation -->
    <nav class="main-navigation">
        <div class="container">
            <div class="row">
                <div class="col-sm-12">
                    <div class="navbar-header">
                        <span class="nav-toggle-button collapsed" data-toggle="collapse" data-target="#main-menu">
                        <span class="sr-only">Toggle navigation</span>
                        <i class="fa fa-bars"></i>
                        </span>
                    </div>
                    <div class="collapse navbar-collapse" id="main-menu">
                        <ul class="menu">
        <li class="nav-current" role="presentation"><a href="./include/index.html">首页</a></li>
        <li role="presentation"><a href="http://wenda.ghostchina.com/">论坛</a></li>
        <li role="presentation"><a href="http://www.ghostchina.com/ghost-cheat-sheet/">快捷手册</a></li>
        <li role="presentation"><a href="http://docs.ghostchina.com/zh/">中文文档</a></li>
        <li role="presentation"><a href="http://www.ghostchina.com/download/">下载</a></li>
        <li role="presentation"><a href="http://www.ghostchina.com/about/">关于</a></li>
</ul>   
                    </div>
                </div>
            </div>
        </div>
    </nav>
    <!-- end navigation -->


    <!-- start site's main content area -->
    <section class="content-wrap">
        <div class="container">
            <div class="row">

                <main class="col-md-8 main-content">
                <!--文章列表-->
                <div id="articles">

                </div>
                <!--分页功能-->
                <div id="pagination"></div>

<!--<nav class="pagination" role="navigation">-->
    <!--<span class="page-number">第 1 页 ⁄ 共 8 页</span>-->
        <!--<a class="older-posts" href="http://www.ghostchina.com/page/2/"><i class="fa fa-angle-right"></i></a>-->
<!--</nav>-->


                </main>

                <aside class="col-md-4 sidebar">
                <!-- start widget -->
<!-- end widget -->	

<!-- start tag cloud widget -->
<div class="widget">
	<h4 class="title">社区</h4>
	<div class="content community">
		<p>QQ群：277327792</p>
		<p><a href="http://wenda.ghostchina.com/" title="Ghost中文网问答社区" target="_blank"><i class="fa fa-comments"></i> 问答社区</a></p>
		<p><a href="http://weibo.com/ghostchinacom" title="Ghost中文网官方微博" target="_blank"><i class="fa fa-weibo"></i> 官方微博</a></p>
	</div>
</div>
<!-- end tag cloud widget -->	

<!-- start widget -->
<div class="widget">
	<h4 class="title">下载 Ghost</h4>
	<div class="content download">
		<a href="http://www.ghostchina.com/download/" class="btn btn-default btn-block">Ghost 中文版（0.7.0）</a>
	</div>
</div>
<!-- end widget -->	

<!-- start tag cloud widget -->
<div class="widget">
	<h4 class="title">标签云</h4>
	<div class="content tag-cloud">
		<a href="#">Ghost</a>
<a href="#">新版本发布</a>
<a href="#">JavaScript</a>
<a href="#">Promise</a>
<a href="#">主题</a>
<a href="#">MySQL</a>
<a href="#">Node.js</a>
<a href="#">深度玩转 Ghost</a>
<a href="#">Ubuntu</a>
<a href="#">阿里云服务器</a>
<a href="#">Nginx</a>
<a href="#">BAE</a>
<a href="#">Theme</a>
<a href="#">Ghost 0.7 版本</a>
<a href="#">助手函数</a>
<a href="#">自定义页面</a>
<a href="#">静态页面</a>
<a href="#">上传</a>


		<a href="http://www.ghostchina.com/tag-cloud/">...</a>
	</div>
</div>
<!-- end tag cloud widget -->	

<!-- start widget -->
<!-- end widget -->	

<!-- start widget -->
<!-- end widget -->                </aside>

            </div>
        </div>
    </section>

    <footer class="main-footer">
        <div class="container">
            <div class="row">
                <div class="col-sm-4">
                    <div class="widget">
                        <h4 class="title">最新文章</h4>
                        <div class="content recent-post"><div class="recent-single-post"><a href="http://www.ghostchina.com/ghost-0-7-0-released/" class="post-title">Ghost 0.7.0 正式发布</a><div class="date">September 7, 2015</div></div><div class="recent-single-post"><a href="http://www.ghostchina.com/no-more-jquery-in-ghost_foot-helper-of-ghost-0-7/" class="post-title">Ghost 0.7 中 {{ghost_foot}} 助手函数将不再输出 jQuery</a><div class="date">August 29, 2015</div></div><div class="recent-single-post"><a href="http://www.ghostchina.com/ghost-0-7-going-to-be-released-lets-preview/" class="post-title">Ghost 0.7 即将发布，高清大图提前看</a><div class="date">August 23, 2015</div></div></div>
                    </div>
                </div>

                <div class="col-sm-4">
                    <div class="widget">
                        <h4 class="title">标签云</h4>
                        <div class="content tag-cloud">
                            <a href="#">Ghost</a>
<a href="#">新版本发布</a>
<a href="#">JavaScript</a>
<a href="#">Promise</a>
<a href="#">主题</a>
<a href="#">MySQL</a>
<a href="#">Node.js</a>
<a href="#">深度玩转 Ghost</a>
<a href="#">Ubuntu</a>
<a href="#">阿里云服务器</a>
<a href="#">Nginx</a>
<a href="#">BAE</a>
<a href="#">Theme</a>
<a href="#">Ghost 0.7 版本</a>
<a href="#">助手函数</a>


                            <a href="http://www.ghostchina.com/tag-cloud/">...</a>
                        </div>
                    </div>
                </div>

                <div class="col-sm-4">
                    <div class="widget">
                        <h4 class="title">合作伙伴</h4>
                        <div class="content tag-cloud friend-links">
                            <a href="http://www.bootcss.com/" title="Bootstrap中文网"  target="_blank">Bootstrap中文网</a>
                            <a href="http://www.bootcdn.cn/" title="开放CDN服务"  target="_blank">开放CDN服务</a>
                            <a href="http://www.gruntjs.net/" title="Grunt中文网" target="_blank">Grunt中文网</a>
                            <hr>
                            <a href="http://www.aliyun.com/" title="阿里云"  target="_blank">阿里云</a>
                            <hr>
                            <a href="https://www.upyun.com/" title="又拍云" target="_blank">又拍云</a>
                            <a href="http://www.ucloud.cn/" title="UCloud"  target="_blank">UCloud</a>
                            <a href="http://www.qiniu.com/" title="七牛云存储"  target="_blank">七牛云存储</a>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </footer>

    <div class="copyright">
        <div class="container">
            <div class="row">
                <div class="col-sm-12">
                    <span>Copyright © <a href="./include/index.html">Ghost中文网</a></span> |
                    <span><a href="http://www.miibeian.gov.cn/" target="_blank">京ICP备11008151号</a></span> | 
                    <span>京公网安备11010802014853</span>
                </div>
            </div>
        </div>
    </div>

    <a href="http://www.ghostchina.com/#" id="back-to-top" style="display: none;"><i class="fa fa-angle-up"></i></a>

    <script src="./include/jquery.min.js"></script>
    <script src="./include/bootstrap.min.js"></script>
    <script src="./include/jquery.fitvids.min.js"></script>
    <script src="./include/highlight.min.js"></script>
    <script src="./include/jquery.magnific-popup.min.js"></script>
    <script src="./include/main.js"></script>
    <script>
        $(function(){
            $('.post-content img').each(function(item){
                var src = $(this).attr('src');

                $(this).wrap('<a href="' + src + '" class="mfp-zoom" style="display:block;"></a>');
            });

            /*$('.post-content').magnificPopup({
              delegate: 'a',
              type: 'image'
            });*/
        });
    </script>
    <script>
        function replace(template,obj){
            var pattern = /{([_\w\.]+)}/g;
            return template.replace(pattern,function(match,p1,offset,string){
                var arr = p1.split('.');
                if(arr.length > 1){
                    var i = 0;
                    var len = arr.length;
                    var subObj = obj[arr[0]];
                    while(typeof subObj === 'object' && i < len){
                        i = i + 1;
                        subObj = subObj[arr[i]];
                    }
                    if(i === len-1){
                        if(subObj === undefined){
                            return "";
                        }else{
                            return subObj;
                        }
                    }else {
                        return "";
                    }
                }else{
                    var ret = obj[p1]
                    if(ret === undefined)
                    {
                        return "";
                    }else{
                        return ret;
                    }
                }

            })
        }
        function dateFormat(date,fmt){
            if(date instanceof Date){
                date = {
                    y:date.getFullYear(),
                    M:date.getMonth(),
                    d:date.getDay(),
                    h:date.getHours(),
                    m:date.getMinutes(),
                    s:date.getSeconds()
                };
                return replace(fmt,date);
            }else {
                return '';
            }

        }
        function loadArticles(page){
            $.getJSON('/article/list',{page:page},function(data,textStatus,jqXHR){
                var template = '<article id="{_id}" class="post tag-about-ghost tag-release">'+
                        '<div class="post-head"><h1 class="post-title"><a href="/article/detail?id={_id}">{title}</a></h1><div class="post-meta"><span class="author">作者：<a href="/article/list?userId={user._id}">{user.username}</a></span> •'+
                        '<time>{date}</time></div></div>'+
                        '<div class="post-content">'+
                        '<p>{body}</p>'+
                        '</div>'+
                        '<div class="post-permalink"><a href="/article/detail?id={_id}" class="btn btn-default">阅读全文</a></div>'+
                        '<footer class="post-footer clearfix"><div class="pull-left tag-list"><i class="fa fa-folder-open-o"></i><a href="#">Ghost</a>, <a href="#">新版本发布</a></div><div class="pull-right share"></div></footer>'+
                        '</article>';
                var $articles = $('#articles');
                $articles.html('');
                var articles = data.articles;
                for(var i in articles){
                    var article = articles[i];
                    article.date = dateFormat(new Date(article.date),'{y}年{M}月{d}日');
                    $articles.append(replace(template,article));
                }
                /**
                 * 分页部分
                 *
                 * */
//                <nav class="pagination" role="navigation">
//                        <a class="newer-posts" href="/page/2/"><i class="fa fa-angle-left"></i></a>
//                        <span class="page-number">第 3 页 ⁄ 共 8 页</span>
//                <a class="older-posts" href="/page/4/"><i class="fa fa-angle-right"></i></a>
//                        </nav>
                var $pagination = $('#pagination');
                $pagination.html('');
                var $pageContent = $('<nav class="pagination" role="navigation"></nav>');
                var total = data.total;
                var pageSize = 5;
                var pageNum = Math.ceil(total/pageSize);
                if(page === 1){
                    $pageContent.append('<span class="page-number">第 '+page+' 页 ⁄ 共 '+pageNum+' 页</span>');
                    $pageContent.append('<a class="older-posts" href="#" onclick="loadArticles('+(page+1)+')"><i class="fa fa-angle-right"></i></a>')
                }else if(page === pageNum){
                    $pageContent.append('<a class="older-posts" href="#" onclick="loadArticles('+(page-1)+')"><i class="fa fa-angle-left"></i></a>')
//                    $pageContent.append('<a class="older-posts" href="#" onclick="loadArticles('+(page-1)+')"><span class="glyphicon glyphicon-menu-left" aria-hidden="true"></span></a>')
                    $pageContent.append('<span class="page-number">第 '+page+' 页 ⁄ 共 '+pageNum+' 页</span>');
//                    $pageContent.append('<a class="older-posts" href="#" onclick="loadArticles('+(page+1)+')"><i class="fa fa-angle-right"></i></a>')
                }else {
                    $pageContent.append('<a class="older-posts" href="#" onclick="loadArticles('+(page-1)+')"><i class="fa fa-angle-left"></i></a>')
                    $pageContent.append('<span class="page-number">第 '+page+' 页 ⁄ 共 '+pageNum+' 页</span>');
                    $pageContent.append('<a class="older-posts" href="#" onclick="loadArticles('+(page+1)+')"><i class="fa fa-angle-right"></i></a>')
//                    $pageContent.append('<a class="older-posts" href="#" onclick="loadArticles('+(page+1)+')"><span class="glyphicon glyphicon-menu-right" aria-hidden="true"></span></a>')
                }
                $pagination.append($pageContent);
            })
        }
        $(function(){
            loadArticles(1);
        })
        /**
         * data structure
         * {
         *  total:x,
         *  articles:[
         *      {
         *          _id:
         *          title:
         *          body:
         *          user:{
         *              _id:
         *              username:
         *          }
         *          date:
         *      }
         *  ]
         * }
         * article template
         *
         <article id="{_id}" class="post tag-about-ghost tag-release">

         <div class="post-head">
         <h1 class="post-title"><a href="/article/detail?id={_id}">{title}</a></h1>
         <div class="post-meta">
         <span class="author">作者：<a href="/article/list?userId={user._id}">{user.username}</a></span> •
         <time>{date}</time>
         </div>
         </div>
         <div class="post-content">
         <p>Ghost 0.6.2 主要是对 0.6.x 版本发布以来进行的 bug 修复。是否会问 0.6.1 版本去哪儿了？其实又被乌龙了，刚发布就发现有重大 bug，所以 0.6.2 成了救火的版本了。。。 主要变化 [修复] 在 Ghost 后台，作者（author）无法访问自己的信</p>
         </div>
         <div class="post-permalink">
         <a href="/article/detail?id={_id}" class="btn btn-default">阅读全文</a>
         </div>

         <footer class="post-footer clearfix">
         <div class="pull-left tag-list">
         <i class="fa fa-folder-open-o"></i>
         <a href="#">Ghost</a>, <a href="#">新版本发布</a>
         </div>
         <div class="pull-right share">
         </div>
         </footer>
         </article>
         *
         */
        //data structure
        //{total:x,articles:[
        // {
        //   title:

        // }]
    </script>
    <script>
        window._bd_share_config={"common":{"bdSnsKey":{},"bdText":"","bdMini":"2","bdMiniList":false,"bdPic":"","bdStyle":"0","bdSize":"24"},"share":{}};with(document)0[(getElementsByTagName('head')[0]||body).appendChild(createElement('script')).src='http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion='+~(-new Date()/36e5)];
    </script>

    <script>
    $(function(){
        var version = '0.7.0';
        var $download =  $('.download > a').first();
       	var html = $download.html().replace(/\d\.\d\.\d/, version);
        
        $download.html(html);
    });
</script>
<script type="text/javascript">
var _bdhmProtocol = (("https:" == document.location.protocol) ? " https://" : " http://");
document.write(unescape("%3Cscript src='" + _bdhmProtocol + "hm.baidu.com/h.js%3F6338835ad35c6d950a554fdedb598e48' type='text/javascript'%3E%3C/script%3E"));
</script><script src="./include/h.js" type="text/javascript"></script>



</body></html>